﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace Mysoft.Rpa.ControlWeb.Models.Api
{
    /// <summary>
    /// 机器人的包信息
    /// </summary>
    [Serializable]
    public class RobotPackageInfo
    {
        /// <summary>
        /// 包ID
        /// </summary>
        public Guid PackageId { get; set; }
        /// <summary>
        /// 包名称
        /// </summary>
        public string ProjectName { get; set; }
        /// <summary>
        /// 包描述
        /// </summary>
        public string Description { get; set; }
        /// <summary>
        /// 版本号
        /// </summary>
        public string Version { get; set; }
        /// <summary>
        /// 包状态
        /// 1=未安装，2=已安装
        /// </summary>
        public int PackageStatus { get; set; }
        /// <summary>
        /// 是否已安装
        /// </summary>
        public bool IsInstall { get; set; }

        /*
        未安装, 卸载 = 未安装 = 安装
        未安装，安装 = 安装中 = 无
        已安装，安装 = 已安装 = 卸载
        已安装，卸载 = 卸载中 = 无
        */
    }
}
